package com.xmy.cultivate.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xmy.cultivate.entity.MobileStaffPermission;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 员工权限 服务类
 * </p>
 *
 * @author hpiggy
 * @since 2024-06-26
 */
public interface IMobileStaffPermissionService extends IService<MobileStaffPermission> {
    List<String> getPermissionCodeAll(@Param("type") Integer type);

    public List<String> getStaffPermissionAllByStaffId(Long staffId, Integer type);

    List<Long> getStaffPermissionAllIdByStaffId(Long staffId, Integer type);
}
